package com.aliyun.oss.UserService;

import com.aliyun.oss.pojo.DTO.OrdersPaymentDTO;
import com.aliyun.oss.pojo.DTO.OrdersSubmitDTO;
import com.aliyun.oss.pojo.Entity.Orders;
import com.aliyun.oss.pojo.Vo.AllOrdersVO;
import com.aliyun.oss.pojo.Vo.OrderPaymentVO;
import com.aliyun.oss.pojo.Vo.OrderSubmitVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface OrdersService extends IService<Orders> {
    OrderSubmitVO submitOrder(Integer id, OrdersSubmitDTO ordersSubmitDTO);

    OrderPaymentVO payment(Integer id, OrdersPaymentDTO ordersPaymentDTO);

    void processTimeoutOrder();

    void processDeliveryOrder();

    List<AllOrdersVO> getAllOrders(Integer id);
}
